package com.kmis.common.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author moc
 */
@Getter
@Setter
public class BusinessException extends RuntimeException {

    private Integer code;
    private String message;

    public BusinessException(Integer code,String message){
        this.code = code;
        this.message = message;
    }
    public BusinessException(String message){
        this.message = message;
    }

}
